﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>
    </title>
    
    
<link rel="stylesheet" type="text/css" href="common/css/Style.css" />
	<script type="text/javascript" src="common/kindeditor/kindeditor-min.js"></script>
		<script type="text/javascript" src="common/kindeditor/lang/zh_CN.js"></script>
		
 <script type="text/javascript" src="common/js/Calendar4.js"></script>
	<script type="text/javascript" src="common/js/json2.js"></script>
<script type="text/javascript" src="common/js/jquery-1.7.2.min.js"></script>
<script type="text/javascript">
    $(function() {
        Vote.Inition();
    });
  //文本编辑器初始化
var editor;
KindEditor.ready(function(K) {
    editor = K.create('textarea[name="content"]', {
        resizeType: 1,
        allowPreviewEmoticons: false,
        allowImageUpload: false,
        items: [
						'source', '|','fontname', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold', 'italic', 'underline',
						'removeformat', '|', 'justifyleft', 'justifycenter', 'justifyright', 'insertorderedlist',
						'insertunorderedlist', '|', 'emoticons', 'image', 'link']
    });
});
  //事件触发处理
var Vote = {
    ClearData: function() { //清空数据
        if (confirm("确定要清空所有数据吗？（包括IP记录数据和已经评分的记录）")) {
            alert('已经清空数据');
        }
    },
    SetContent: function() { //设置文本编辑器内容
        alert(editor.html());
    },
    Inition: function() {
        // 左侧菜单效果 局部折叠
        $('.Menu').click(function() {
            var $NowMenu = $(this).next('.MenuNote');
            $('.MenuNote').hide(400, function() { });
            if ($NowMenu.is(":visible")) {
                $NowMenu.hide(300, function() { });
            } else {
                $NowMenu.show(500, function() { });
            }
        });
        //总体折
        $("#menu_fold").toggle(
	function() {
	    $("#left_nav").width(26).height(62).children("[class!=menu_fold]").hide();
	    $(this).width(25).height(62).css('background-image', 'url(common/images/menu_folded_bg.png)');
	    $(this).children("span.menu_fold_icon").css('background-image', 'url(common/images/open_icon.png)')
	},
	function() {
	    $("#left_nav").width(184).children().show();
	    $(this).width(183).height(29).css('background-image', 'url(common/images/menu_fold_bg.png)');
	    $(this).children("span.menu_fold_icon").css('background-image', 'url(common/images/close_icon.png)')
	});

    }
}

    //设置日期格式
   //CAR.Task.DateFormat();
   // CAR.Task.NumberFormatter();
 
</script>
    <style type="text/css">
    .container
    {
    	padding:20px;
    	width:800px;
    	margin:0px auto;
    	}
    </style>
</head>
<body>
<div class="header">     <!--header start-->
  <div class="top_wrapper">
      <div id="top">
         <div class="innner_topleft"></div>
         <div class="innner_topright">
                
                 
                 <div class="topmenu">
                
                 <div id="menu">              
                    <div class="menu_box" id="btnStatic"><p class="img_wrapper"><img alt=""  src="common/images/new/clear.png"></p><p>数据清空</p></div> 
                     <div class="menu_box" id="btnNowinfo"><p class="img_wrapper"><img alt="" src="common/images/new/static.png"></p><p>说明设置</p></div> 
                      <div class="menu_box" id="btnNowControl"><p class="img_wrapper"><img alt="" src="common/images/new/function.png"></p><p>数据统计</p></div> 
          
                </div>
                
              
                 </div>
               
                </div>
        </div>
        </div>
 <div class="menu2" ></div>

</div>                 <!--header end-->

<div class="wrapper" >
<div class="left_nav" id="left_nav">     <!--Left Nav start-->
 <div class="menu_fold" id="menu_fold">
    <span style="display:block; padding-top:5px; line-height:15px">导航</span>
    <span class="menu_fold_icon"></span>
 </div>
<div class="LeftNote">
 
        <div class="Menu " style="width: 182px">
        <img src="common/Images/computer_link.png"/>基本设置管理</div>
        <div class="MenuNote" style="display:block;">
 <div style="margin:0px; padding:0px; height:5px;">
            <img src="common/images/menu_topline.gif" style="vertical-align:top; padding:0px; margin:0px;"  alt="" />
   </div>
            <ul class="MenuUL">
                <li><a href="javascript:CAR.Task.SelectTab(0)">数据清空</a></li>
                <li><a href="javascript:CAR.Task.PopWinform('deplay')" >说明设置</a></li>
                <li><a href="javascript:CAR.Task.PopWinform('basic')" >评价有效时间设置</a></li>
                <li><a href="javascript:CAR.Task.SelectTab(3)" >数据统计</a></li>
            </ul>
        </div>
        <div class="Menu"><img src="common/Images/table_edit.png"/>其他设置</div>
        <div class="MenuNote" style="display:none;">
           <div style="margin:0px; padding:0px; height:5px;">
            <img src="common/images/menu_topline.gif" style="vertical-align:top; padding:0px; margin:0px;"  alt="" />
   </div>
            <ul class="MenuUL">
                 <li><a href="javascript:CAR.Task.PopWinform('TestInfoAdd')" >修改密码</a></li>
               <li><a href="javascript:CAR.Task.PopWinform('TestInfoAdd')" >服务管理</a></li>
            </ul>
        </div>
   
    </div>

 
 
 
</div>           <!--Left Nav end-->



<div class="page_content" style=" background-color:#eee; float:left; ">
   <div class="container">
   <div class="Clear_mode">
     <span>清空数据库中的数据记录：</span>
       <input id="Button1" onclick="Vote.ClearData()" type="button" value="清空" />
       </div>
       <div class="time_set">
       <p>投票时间设定：</p>
       <span>起始时间：</span><input onclick="MyCalendar.SetDate(this)" id="TextStart" type="text" />
        <span>终止时间：</span><input onclick="MyCalendar.SetDate(this)" id="TextEnd" type="text" />
           <input id="Button3" type="button" value="确定" />
       </div>
    <div class="setText">
    <form>
    <h4>输入首页介绍内容</h4>
			<textarea name="content" style="width:700px;height:200px;visibility:hidden;"></textarea>
    <input id="Button2" type="button" onclick="Vote.SetContent()" value="确定" />
		</form>
    </div>
   </div>
	
</div>
<div class="clear"></div>
</div>
</body>
</html>
